package com.foreknow.demo8;

/**
 * @author shkstart
 * @create 2021-07-28 9:32
 */
public class SubA extends A {
    @Override
    public boolean login(String username, String password) {
        if("tom".equals(username)&&"123456".equals(password)){
            return true;
        }
        return false;
    }
}
